<script>
 
</script>
<template>
    <div>
        <h1>新闻 news 页面</h1>
        <ul>
            <li><RouterLink to="/news/A?id=101&title=辛芷蕾影后&content=威尼斯影后">新闻A</RouterLink></li>
            <!-- <li><RouterLink :to="{
                                    path:'/news/B',
                                    query:{
                                        id:102,
                                        title:'iphone17发布',
                                        content:'iphone17深夜发布,大量用户抢购'
                                    }
                    }">新闻B</RouterLink></li> -->

              <li><RouterLink to="/news/B/102/iphone17发布/iphone17深夜发布,大量用户抢购">新闻C</RouterLink></li>
                 
        </ul>

        <div>
            <RouterView/>
        </div>
    </div>
</template>